package com.aaa.service;

import com.aaa.entity.Dept;
import com.aaa.entity.User;
import com.aaa.vo.DeptVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface DeptService {
    Result<List<Dept>> findAll();


    Result<IPage<Dept>> queryByPage(DeptVo deptVo);

    Result<String> addOrUpdDept(Dept dept);

    Result<Dept> queryById(Long id);

    Result<String> deleteByIds(Long[] id);

    Dept getDeptById(Integer id);
}
